﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace MyPublisher.Administration.Model
{
    public class Document : System.Windows.ApplicationFramework.Model
    {
        private string name;
        private bool modified;
        private bool multiple;

        public Document()
        {
        }

        public string Name 
        {
            get { return name; }
            set
            {
                if (name != value)
                {
                    name = value;
                    RaisePropertyChanged("Name");
                }
            }
        }

        public bool Modified
        {
            get { return modified; }
            set
            {
                if (modified != value)
                {
                    modified = value;
                    RaisePropertyChanged("Modified");
                }
            }
        }

        public bool Multiple
        {
            get { return multiple; }
            set
            {
                if (multiple != value)
                {
                    multiple = value;
                    RaisePropertyChanged("Multiple");
                }
            }
        }
    }
}
